﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Master/MasterPage.master" AutoEventWireup="true"
    CodeBehind="InCheck.aspx.cs" Inherits="DomMgmtSystem.View.InCheck" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
    <script src="../Js/artDialog/artDialog.js" type="text/javascript"></script>
    <script src="../Js/artDialog/plugins/iframeTools.source.js" type="text/javascript"></script>
    <link href="../Js/artDialog/skins/blue.css" rel="stylesheet" type="text/css" />
    <script type="text/javascript">
        $(function () {
            $("#Content_txtSQDH").keyup(function () {
                OnlyInputNumber(this);
            });

            $("#Content_btnSave").click(function () {
                if ($("#Content_txtSQDH").val() == "" || $("#Content_txtCSQMC").val() == "") {
                    
                    Alert("摄区代号、摄区名称不能为空，请输入");
                    return false;
                }
                if ($("#Content_txtSQDH").val().length != 8) {
                    Alert("摄区代号格式为年份+4位流水号");
                    return false;
                }
            });
        });
    </script>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="Content" runat="server">
    <div id="InCheck">
        <table class="table table-bordered table-hover">
            <thead>
                <tr>
                    <td colspan="2" class="tableTitle">
                        <asp:Label ID="lbTitle" runat="server" Text="新增入库检查"></asp:Label>
                    </td>
                </tr>
            </thead>
            <tbody>
                <tr>
                    <td class="tableleft">
                        摄区代号：
                    </td>
                    <td id="tdProductID">
                        <asp:TextBox ID="txtSQDH" runat="server"></asp:TextBox>
                    </td>
                </tr>
                <tr>
                    <td class="tableleft">
                        摄区名称：
                    </td>
                    <td>
                        <asp:TextBox ID="txtCSQMC" runat="server"></asp:TextBox>
                    </td>
                </tr>
                <tr>
                    <td class="tableleft">
                        硬盘是否能读：
                    </td>
                    <td>
                        <asp:RadioButton ID="rbUnReadable" runat="server" Text="" GroupName="nd" />不可读
                        <asp:RadioButton ID="rbReadable" runat="server" Text="" GroupName="nd" Checked="True" />可读
                    </td>
                </tr>
                <tr>
                    <td class="tableleft">
                        完整性检查：
                    </td>
                    <td>
                        <asp:RadioButton ID="rbWZXUnPass" runat="server" Text="" GroupName="wzx" />不通过
                        <asp:RadioButton ID="rbWZXPass" runat="server" Text="" GroupName="wzx" Checked="True" />通过
                    </td>
                </tr>
                <tr>
                    <td class="tableleft">
                        一致性检查：
                    </td>
                    <td>
                        <asp:RadioButton ID="rbYZXUnPass" runat="server" Text="" GroupName="yzx" />不通过
                        <asp:RadioButton ID="rbYZXPass" runat="server" Text="" GroupName="yzx" Checked="True" />通过
                    </td>
                </tr>
                <tr>
                    <td class="tableleft">
                        总体结论：
                    </td>
                    <td>
                        <asp:RadioButton ID="rbZTJLUnPass" runat="server" Text="" GroupName="zj" />不通过
                        <asp:RadioButton ID="rbZTJLPass" runat="server" Text="" GroupName="zj" Checked="True" />通过
                    </td>
                </tr>
            </tbody>
        </table>
        <div class="divcenter">
            <asp:Button ID="btnSave" runat="server" Text="保 存" OnClick="btnSave_Click" OnClientClick="javascript:if(CheckPage()==false) return false"
                class="btn btn-primary" />
            <asp:Button ID="btnBack" runat="server" Text="返 回" ishow="true" OnClick="btnBack_Click"
                class="btn btn-success" Visible="False" />
        </div>
    </div>
</asp:Content>
